package org.spring.springboot.service;

import org.spring.springboot.domain.Category;

import java.util.List;

public interface ICategoryService {
    List<Category> selectAll(String userid);
    List<Category> selectByNameAndTitle(String name,String title);
    List<Category> selectByPid(String pid);
    Category selectOne(String id);
    void save(Category obj);
    void update(String id,String name,String title);
    void delete(String id);

}
